Skip to content

feat(backend): add fastapi crud app - #75

Merged
Tejas-Santosh-Nalawade merged 5 commits into
acesdit:mainfrom
AksharGoyal:feat/fastapi-crud-app
Oct 20, 2025
Merged

feat(backend): add fastapi crud app#75
Tejas-Santosh-Nalawade merged 5 commits into
acesdit:mainfrom
AksharGoyal:feat/fastapi-crud-app

Conversation

@AksharGoyal

@AksharGoyal AksharGoyal commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

Description:

  • Small, minimal FastAPI example demonstrating a CRUD REST API for "items".
  • Uses SQLAlchemy ORM for persistence (SQLite by default) and Pydantic schemas for request/response validation.

Features:

  • CRUD endpoints for items:
    • GET /items/ — list (supports skip/limit pagination)
    • GET /items/{id} — retrieve single item (404 if missing)
    • POST /items/ — create (validates input)
    • PUT /items/{id} — update (404 if missing)
    • DELETE /items/{id} — delete (404 if missing)
  • Pydantic request/response schemas returning SQLAlchemy models

Tech Stack:

  • Python 3.12+
  • FastAPI
  • Pydantic (validation / schemas)
  • SQLAlchemy (ORM)
  • Uvicorn (ASGI server)
  • "uv" recommended environment manager for local dev

@AksharGoyal
AksharGoyal marked this pull request as draft October 20, 2025 11:10
@AksharGoyal
AksharGoyal marked this pull request as ready for review October 20, 2025 12:49
@Tejas-Santosh-Nalawade
Tejas-Santosh-Nalawade merged commit 1e40efb into acesdit:main Oct 20, 2025
@AksharGoyal
AksharGoyal deleted the feat/fastapi-crud-app branch October 20, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants